#include<bits/stdc++.h>
using namespace std;
int main()
{
  int c=50;
  int r=160;
  cout<<(4*c-r)/2<<' ';
  cout<<(r-2*c)/2/*<<endl*/;
  return 0;
}
